﻿using System;
using System.Collections.Generic;

using System.Text;

namespace HZ.DrugTrade.Model.Interface
{
    /// <summary>
    /// ERP系统出库单结构
    /// </summary> 
    [Serializable()]
    public class ERPDistribution
    {
        /// <summary>
        /// ERP系统产品编号
        /// </summary>
        public string ERPDrugID { get; set; }

        public string CProductName { get; set; }
        public string CMedicineModelName { get; set; }
        public string COutlookc { get; set; }
        public string CPack { get; set; }

        public string CCompanyName_SC { get; set; }
        /// <summary>
        /// 配送数量
        /// </summary>
        public int? DistributeCount { get; set; }
        /// <summary>
        /// 配送时间
        /// </summary>
        public DateTime? DistributeTime { get; set; }
        /// <summary>
        /// 批号
        /// </summary>
        public string BatchRecordID { get; set; }

        // 其他自定义字段
        /// <summary>
        /// 重载相等
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public override bool Equals(object obj)
        {
            return ERPDrugID == ((ERPDistribution)obj).ERPDrugID;
        }
    }
}
